package com.financing.wap.service;

import java.sql.SQLException;
import java.util.List;

import com.financing.wap.dto.FpYouDanAmountDetailDTO;

public interface IYouDanAmountDetailService {
	/**
	 * 
	 * @Title: insertYouDanAmountDetail
	 * @Description: 有单金额明细表
	 * @param FpYouDanAmountDetailDTO
	 * @throws SQLException   
	 * @return int   
	 * @throws
	 */
	public int insertYouDanAmountDetail(FpYouDanAmountDetailDTO youDanAmountDetailDTO) throws SQLException;


	
	/**
	 * 
	 * @Title: queryYouDanAmountDetailList
	 * @Description: 查询列表
	 * @param youDanAmountDetailDTO
	 * @throws SQLException   
	 * @return List<FpYouDanAmountDetailDTO>   
	 * @throws
	 */
	public List<FpYouDanAmountDetailDTO> queryYouDanAmountDetailList(FpYouDanAmountDetailDTO youDanAmountDetailDTO) throws SQLException;


	/**
	 * 
	 * @Title: updateYouDanAmountDetail
	 * @Description: 修改
	 * @param youDanAmountDetailDTO
	 * @throws SQLException   
	 * @throws
	 */
	public void updateYouDanAmountDetail(FpYouDanAmountDetailDTO youDanAmountDetailDTO)throws SQLException;
	
	/**
	 * 
	 * @Title: queryYouDanAmountDetailList
	 * @Description: 
	 * @param youDanAmountDetailDTO
	 * @throws SQLException   
	 * @return List<FpYouDanAmountDetailDTO>   
	 * @throws
	 */
	public FpYouDanAmountDetailDTO queryYouDanAmountDetailById(Integer id) throws SQLException;
}
